package com.kaili.common.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author:lsw
 * @Time: 19-7-23 下午8:15
 * @Copyright: ©  杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Document(collection="t_sys_log")
@Data
@ApiModel(description = "系统日志")
public class MdmSysLogEntity {
    @Id
    @ApiModelProperty("日志id")
    private String id;

    @ApiModelProperty("操作模块")
    private String operatorModule;

    @ApiModelProperty("状态")
    private String operatorType;

    @ApiModelProperty("操作人")
    private String operatorName;

    @ApiModelProperty("所属机构")
    private String organ;

    @ApiModelProperty("操作时间")
    private Date operatorTime;

    @ApiModelProperty("描述")
    private String describe;

    @ApiModelProperty(value = "Json报文",hidden = true)
    private String msg;
}
